function getLastLocation(str)
{
    var len = str.length;    

    for(var i=0;i<len;i++)
    {
        var s = str.charAt(len-1-i);
	if(s=='/')
	{
		return (len-i);
		break;
	}
    }
}




function switchSysBar(){ 
var locate=location.href;
var len=getLastLocation(locate);
var src=locate.substring(0,len);
var ssrc=document.all("img1").src.replace(src,'');
if (ssrc=="images/main_55.gif")
{ 
document.all("img1").src="images/main_55_1.gif";
document.all("frmTitle").style.display="none" 
} 
else
{ 
document.all("img1").src="images/main_55.gif";
document.all("frmTitle").style.display="" 
} 
} 